FROM java:8-jre
MAINTAINER markerccc <317848010@qq.com>

ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

ADD ./target/hoshiicloud-payment.jar /app/

CMD ["java", "-Xmx1000m", "-jar", "/app/hoshiicloud-payment.jar", "--spring.profiles.active=test"]

